package com.example.annotationtest.service;

import com.example.annotationtest.model.vo.request.UserRequest;
import com.example.annotationtest.model.vo.request.UserUpdateRequest;
import com.example.annotationtest.model.vo.response.UserRespoonse;

/**
 * .
 *
 * @author zhuchenglin
 * @since 2024/3/21 15:17
 */
public interface UserService {

    Boolean saveUser(UserRequest request);

    UserRespoonse getUser(Long id);

    Boolean updateAge(UserUpdateRequest userRequest);

    UserRespoonse getUserByName(String name);
}
